package com.data.csv.bean;

import java.sql.Timestamp;

public class ClientCSV {
	private Integer cid;
	private String ownname,name,comName,province,city,area,phone;
	private Timestamp created,modified;
	
	public static String getTitle(){
		return "cid,ownname,name,comName,province,city,area,phone,created,modified,";
	}
	
	public String toString(){
		comName=(comName==null?"":comName);
		
		return cid.toString()+","+ownname+","+name+","+comName+","+province+","+city+","+area+","+phone+","+created
				+"," + modified+",";
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getComName() {
		return comName;
	}

	public void setComName(String comName) {
		this.comName = comName;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public Timestamp getModified() {
		return modified;
	}

	public void setModified(Timestamp modified) {
		this.modified = modified;
	}

	public String getOwnname() {
		return ownname;
	}

	public void setOwnname(String ownname) {
		this.ownname = ownname;
	}
	
	
	
	

}
